package cn.young.javalearning.designpattern.singleton.lazy;

public class LazyInnerClassSingleton {
    private LazyInnerClassSingleton(){}

    public static final LazyInnerClassSingleton getInstance(){
        return InerClass.SINGLETON;
    }

   private static class InerClass{
       static final LazyInnerClassSingleton SINGLETON = new LazyInnerClassSingleton();
    }
}
